/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package argtrust.measure;

/**
 *
 * @author Yuqing Tang
 */
public class LevelMeasure extends Measure {

    double mLevel;

    public LevelMeasure() {
        super();
        mLevel = 0;
    }

    public LevelMeasure(LevelMeasure orig) {
        super();
//        super(orig);
        mLevel = orig.mLevel;

    }

    public LevelMeasure(double level) {
        super();
        mLevel = level;
    }

    public void setLevel(double level) {
        mLevel = level;
    }

    public double getLevel() {
        return mLevel;
    }

    @Override
    public String toString() {
//        return String.valueOf(mLevel);
        return String.format("%.2f", mLevel);

    }
}
